package com.byd.sealmanage.dao.mybatis;

import com.byd.sealmanage.config.CommonMapper;
import com.byd.sealmanage.modal.bo.ChangeWorkParamVO;
import com.byd.sealmanage.modal.po.TbSealChange;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbSealChangeMapper extends CommonMapper<TbSealChange> {

    /**
     * 批量插入转交记录
     * @param changeRecord
     * @return
     */
    int insertChangeList(List<TbSealChange> changeRecord);

    /**
     * 查询转交的数量
     * @param changeWorkParamVO
     * @return
     */
    int selectChangeCount(ChangeWorkParamVO changeWorkParamVO);

    /**
     * 查询转交的信息
     * @param changeWorkParamVO
     * @return
     */
    List<ChangeWorkParamVO> selectChangeData(ChangeWorkParamVO changeWorkParamVO);

    /**
     * 查找转交记录的信息
     * @param changeWorkParamVO
     * @return
     */
    int selectChangeRecordCount(ChangeWorkParamVO changeWorkParamVO);

    /**
     * 查询转交的信息
     * @param changeWorkParamVO
     * @return
     */
    List<ChangeWorkParamVO> selectChangeRecordData(ChangeWorkParamVO changeWorkParamVO);
}